<?php $this->fetch('public/head') ?>
<div class="layui-tab layui-tab-brief">
    <ul class="layui-tab-title">
        <li class="layui-this">编辑内容</li>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <form class="layui-form form-container" action="" method="post">
                <div class="layui-form-item">
                    <label class="layui-form-label">百度地图坐标</label>
                    <div class="layui-input-inline">
                        <input type="text" name="content[tit0]" value="<?php echo $rows['content']['tit0'] ?>" required  lay-verify="required" placeholder="请输入" class="layui-input">
                    </div>
                    <div class="layui-form-mid layui-word-aux"><a style="color: blue;" target="_blank" href="http://api.map.baidu.com/lbsapi/getpoint/index.html">拾取百度坐标</a></div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">文字1</label>
                    <div class="layui-input-block">
                        <input type="text" name="content[tit1]" value="<?php echo $rows['content']['tit1'] ?>"   lay-verify="" placeholder="请输入名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">文字2</label>
                    <div class="layui-input-block">
                        <input type="text" name="content[tit2]" value="<?php echo $rows['content']['tit2'] ?>"   lay-verify="" placeholder="请输入名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">文字3</label>
                    <div class="layui-input-block">
                        <input type="text" name="content[tit3]" value="<?php echo $rows['content']['tit3'] ?>"   lay-verify="" placeholder="请输入名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">文字4</label>
                    <div class="layui-input-block">
                        <input type="text" name="content[tit4]" value="<?php echo $rows['content']['tit4'] ?>"   lay-verify="" placeholder="请输入名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">文字5</label>
                    <div class="layui-input-block">
                        <input type="text" name="content[tit5]" value="<?php echo $rows['content']['tit5'] ?>"   lay-verify="" placeholder="请输入名称" class="layui-input">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">文字6</label>
                    <div class="layui-input-block">
                        <input type="text" name="content[tit6]" value="<?php echo $rows['content']['tit6'] ?>"   lay-verify="" placeholder="请输入名称" class="layui-input">
                    </div>
                </div>           
                <div class="layui-form-item">
                    <label class="layui-form-label">发布时间</label>
                    <div class="layui-input-block">
                        <input type="text" name="add_time" value="<?php echo $rows['add_time']?:date('Y-m-d H:i:s') ?>" class="layui-input datetime">
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-submit lay-filter="*">保存</button>
                        <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
<?php $this->fetch('public/script') ?>